// AI 提示词生成器测试页面样式
// 采用与文生图页面相同的深色主题设计

.container {
  padding: 24px;
  min-height: 100vh;
  background-color: #0a0a0a;
}

// 页面头部样式
.pageHeader {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid #333;
  position: relative;
  overflow: hidden;
  
  // 添加装饰性渐变条
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00ff00, #00cc00, #009900);
    z-index: 1;
  }
  
  .headerContent {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    position: relative;
    z-index: 2;
    
    @media (max-width: 768px) {
      flex-direction: column;
      gap: 24px;
    }
  }
  
  .titleSection {
    flex: 1;
  }
  
  .pageTitle {
    margin: 0 !important;
    color: #fff !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.5px;
  }
  
  .titleIcon {
    color: #00ff00;
    font-size: 40px;
    text-shadow: 0 2px 4px rgba(0, 255, 0, 0.3);
  }
  
  .pageDescription {
    color: #ccc !important;
    font-size: 16px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.3px;
  }
  
  .featureTags {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    
    @media (max-width: 768px) {
      flex-direction: row;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
    }
  }
  
  .featureTag {
    background: rgba(0, 255, 0, 0.1) !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
    color: #00ff00 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    &:hover {
      background: rgba(0, 255, 0, 0.2) !important;
      color: #00cc00 !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
    }
  }
}

// 功能特性卡片区域
.featuresSection {
  margin-bottom: 32px;
  
  .featureCard {
    background: rgba(26, 26, 26, 0.8) !important;
    border: 1px solid rgba(68, 68, 68, 0.3) !important;
    border-radius: 12px !important;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    
    &:hover {
      border-color: rgba(0, 255, 0, 0.3) !important;
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 255, 0, 0.1);
    }
    
    :global(.ant-card-body) {
      padding: 24px !important;
      text-align: center;
    }
  }
  
  .featureIcon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #000;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
    
    &:hover {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 6px 16px rgba(0, 255, 0, 0.4);
    }
  }
  
  .featureTitle {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 12px 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
  
  .featureDesc {
    color: #ccc !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
}

// 测试区域样式
.testSection {
  margin-bottom: 32px;
  
  .testCard {
    background: rgba(26, 26, 26, 0.8) !important;
    border: 1px solid rgba(68, 68, 68, 0.3) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    
    :global(.ant-card-head) {
      background: transparent !important;
      border-bottom: 1px solid #333 !important;
      padding: 0 24px !important;
      
      .ant-card-head-title {
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      }
    }
    
    :global(.ant-card-body) {
      padding: 24px !important;
    }
  }
}

// 使用说明区域
.instructionsSection {
  .instructionsCard {
    background: rgba(26, 26, 26, 0.8) !important;
    border: 1px solid rgba(68, 68, 68, 0.3) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    
    :global(.ant-card-head) {
      background: transparent !important;
      border-bottom: 1px solid #333 !important;
      padding: 0 24px !important;
      
      .ant-card-head-title {
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      }
    }
    
    :global(.ant-card-body) {
      padding: 24px !important;
    }
  }
  
  .instruction {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(42, 42, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(68, 68, 68, 0.3);
    transition: all 0.3s ease;
    
    &:hover {
      background: rgba(42, 42, 42, 0.8);
      border-color: rgba(0, 255, 0, 0.2);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
  }
  
  .stepNumber {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
  }
  
  .stepContent {
    flex: 1;
    
    h5 {
      color: #fff !important;
      font-size: 16px !important;
      font-weight: 600 !important;
      margin: 0 0 8px 0 !important;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
    
    span {
      color: #ccc !important;
      font-size: 14px !important;
      line-height: 1.5 !important;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .pageHeader {
    padding: 24px;
    
    .pageTitle {
      font-size: 24px !important;
      
      .titleIcon {
        font-size: 28px;
      }
    }
    
    .pageDescription {
      font-size: 14px !important;
    }
  }
  
  .featuresSection {
    .featureIcon {
      width: 50px;
      height: 50px;
      font-size: 20px;
    }
    
    .featureTitle {
      font-size: 16px !important;
    }
    
    .featureDesc {
      font-size: 13px !important;
    }
  }
  
  .instruction {
    padding: 16px !important;
    
    .stepNumber {
      width: 28px;
      height: 28px;
      font-size: 12px;
    }
    
    .stepContent {
      h5 {
        font-size: 14px !important;
      }
      
      span {
        font-size: 13px !important;
      }
    }
  }
}

@media (max-width: 480px) {
  .pageHeader {
    padding: 20px;
    
    .headerContent {
      gap: 16px;
    }
    
    .pageTitle {
      font-size: 20px !important;
      gap: 12px !important;
      
      .titleIcon {
        font-size: 24px;
      }
    }
  }
  
  .featuresSection {
    .featureCard {
      :global(.ant-card-body) {
        padding: 20px !important;
      }
    }
  }
  
  .testSection,
  .instructionsSection {
    .testCard,
    .instructionsCard {
      :global(.ant-card-body) {
        padding: 20px !important;
      }
    }
  }
}